<%--
  Created by IntelliJ IDEA.
  User: 曦月丶
  Date: 2021/11/3
  Time: 0:06
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
    <h1>hello springMvc</h1>

    <form action="/test02" method="get">
        用户名:
        <input type="text" name="names[0]" value="tom"><br>
        <input type="text" name="names[1]" value="肉丝"><br>
        <input type="text" name="names[2]" value="jack"><br>
        <hr>
        用户:
        <input type="text" name="list[0].userName" value="tom">
        <input type="text" name="list[0].passWord" value="18"><br>
        <input type="text" name="list[1].userName" value="肉丝">
        <input type="text" name="list[1].passWord" value="21"><br>
        <hr>
        <input type="text" name="map['name']" value="汤姆"> <br>
        <input type="text" name="map['age']" value="18"> <br>
        <input type="submit" value="请求参数封装到数组中">
    </form>
</body>
</html>
